WCPM\Classes\Product A

Total Complexity 58
Dependencies 5
Dependents 4
Total lines 390
Lines of code 250
Logical lines of code 134
Comment lines 45
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
get_product_details_for_datalayer()
A
43 7 49
get_compiled_product_id()
S
59 6 15
get_brand_name()
S
56 5 18
get_dyn_r_id_type()
S
57 5 15
get_product_category()
S
58 4 14
get_front_end_order_items()
S
53 3 23
get_product_data_layer_script_html_part_1()
S
57 3 19
get_order_item_ids()
S
57 3 16
get_formatted_variant_text()
S
61 3 11
get_product_data_layer_script()
S
63 3 9
get_variation_or_product_id()
S
69 3 6
get_dyn_r_ids()
S
61 2 11
get_brand_by_taxonomy()
S
66 2 8
pmw_output_product_prices_with_tax()
S
79 1 3
pmw_get_order_items()
S
71 1 5
is_variable_product_by_id()
S
75 1 4
log_problematic_product_id()
S
89 1 2
log_problematic_product()
S
70 1 6
buffer_get_product_data_layer_script()
S
72 1 5
get_product_data_layer_script_html_part_2()
S
75 1 5
is_wc_product()
S
79 1 3
is_not_wc_product()
S
79 1 3